package org.eiahe.hr.performance.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.eiahe.hr.performance.domain.PerformanceResult;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 绩效结果业务对象
 *
 * @author zhangnn
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@AutoMapper(target = PerformanceResult.class, reverseConvertGenerate = false)
public class PerformanceResultBo {

    /**
     * 结果ID
     */
    private Long resultId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    //@NotBlank(message = "工号不能为空")
    private String employeeNo;

    private String employeeName;

    /**
     * 周期ID
     */
    //@NotNull(message = "周期ID不能为空")
    private Long cycleId;

    /**
     * 总得分
     */
    private BigDecimal totalScore;

    /**
     * 等级ID
     */
    private Long levelId;

    /**
     * 状态(0待确认 1已确认)
     */
    private String status;

    /**
     * 删除标志(0存在 1删除)
     */
    private String delFlag;

    /**
     * 备注
     */
    private String remark;
}
